#include <gui/screen_screen/screenView.hpp>

screenView::screenView()
{
}

void screenView::setupScreen()
{
    screenViewBase::setupScreen();
}

void screenView::tearDownScreen()
{
    screenViewBase::tearDownScreen();
}

void screenView::handleTickEvent(void)
{
    static uint16_t tick = 0;
    static uint16_t count = 0;
    tick++;
    if (tick >= 6)
    {
        tick = 0;
        count += 10;
        boxProgress1.setValue(count);
        boxProgress1.invalidate();
        if (count >= 100)
        {
            application().gotoscreen2ScreenSlideTransitionEast();
        }
    }
}